<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>


    <form action="/file/upload" method="post" enctype="multipart/form-data">
         <input name="username" type="text"> <br>
          <input type="file" name="file"> <br>
          <button>文件上传</button>
    </form>

</body>
</html>